<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()

			+ path + "/";
	String serverPath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort();
%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>登录成功</title>

<!-- Bootstrap -->
<link <%out.print("href=\"" + basePath + "css/bootstrap.min.css\"");%>
    rel="stylesheet">
<link
    <%out.print("href=\"" + basePath + "css/bootstrap-theme.min.css\"");%>
    rel="stylesheet">
<link <%out.print("href=\"" + basePath + "css/custom.css\"");%>
    rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
      <script <%out.print("src=\"" + basePath + "js/html5shiv.min.js\"");%>></script>
      <script <%out.print("src=\"" + basePath + "js/1.4.2/respond.min.js\"");%>></script>
    <![endif]-->
</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top"
        role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="btn btn-default btn-lg">
                    <span class="glyphicon glyphicon-tags"></span>
                </button>
            </div>
            <div class="nav navbar-nav navbar-right">
                <form class="navbar-form navbar-right" role="form">
                    <button type="button"
                        class="btn btn-primary"
                        data-toggle="dropdown" onclick="javascript:location.href='personalinfo.do'">
                        欢迎
                        <c:out value="${usermap.userName}" />
                        登录<span class="caret"></span>
                    </button>
                </form>
            </div>
            <!--/.navbar-collapse -->
        </div>
    </div>
    <div class="jumbotron">
        <div class="container">
            <h2>用户个人信息</h2>
            <table class="table table-striped table-bordered ">
                <tr>
                    <th>#</th>
                    <th>项目</th>
                </tr>
                </thead>
                <tbody>
                    <c:forEach items="${usermap}" var="entry">
                        <tr width="30%">
                            <td width="20%"><c:out
                                    value="${entry.key}" /></td>
                            <td width="80%"><c:out
                                    value="${entry.value}" /></td>
                        </tr>


                    </c:forEach>


                </tbody>
            </table>
        </div>
    </div>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script <%out.print("src=\"" + basePath + "js/jquery.min.js\"");%>></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script<%out.print("src=\"" + basePath + "js/bootstrap.min.js\"");%>"></script>
</body>
</html>